package com.zjuee.base.model.common.waster.dir;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zjuee.base.model.Description;
import com.zjuee.base.valid.Insert;
import com.zjuee.base.valid.Update;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 危废类别小类信息表
 * 
 * @author CollectWeb
 * @email mxj@zjuee.com
 * @date 2021-04-01 16:14:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("bc_danger_sclass")
public class DangerSClass extends Description {

	/*危废代码*/
	@NotBlank(message = "bdbCode can't be empty", groups = {Insert.class, Update.class})
	private String bdsCode;

	/*危废名称*/
	@NotBlank(message = "bdsName can't be empty", groups = {Insert.class, Update.class})
	private String bdsName;

	/*危废大类ID*/
	@NotBlank(message = "bdbId can't be empty", groups = {Insert.class, Update.class})
	private Long bdbId;

	/*危废版本*/
	@NotBlank(message = "bdsVersion can't be empty", groups = {Insert.class, Update.class})
	private String bdsVersion;

	/*危险特性*/
	@NotBlank(message = "bdsFeature can't be empty", groups = {Insert.class, Update.class})
	private String bdsFeature;

	/*创建人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdsCreator;

	/*创建时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bdsCreateTime;

	/*修改人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdsModifier;

	/*修改时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bdsModifiedTime;

	/**备注*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bdsRemark;

}
